-- GENERATED SPELL FOR [Bone Sentinel] --


function spell0_32299(pUnit, Event) --@Mortal Strike,n/a--
pUnit:FullCastSpellOnTarget(32736,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_32299', 5259, 1)
end

function Sorts_32299(pUnit, Event)
local choix_sorts_32299 = math.random(0, 0)
if choix_sorts_32299 == 0 then
pUnit:RegisterEvent('spell0_32299', 1, 1)
end
end

function mob32299_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_32299', math.random(1500, 3000), 1)
end

function mob32299_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32299_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob32299_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(32299, 1, 'mob32299_Action')
RegisterUnitEvent(32299, 2, 'mob32299_Leave')
RegisterUnitEvent(32299, 3, 'mob32299_Kill')
RegisterUnitEvent(32299, 4, 'mob32299_Die')
